﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;

namespace HCQ2_Model.VRQDMeta.InputDto._20220418
{
    /// <summary>
    ///  获取房间商品详情
    /// </summary>
    public class MetaRoomDetailInput
    {
        /// <summary>
        ///  商品ID
        /// </summary>
        [Required]
        [RegularExpression("^([1-9][0-9]*)$", ErrorMessage = "请传入正确的商品ID")]
        public int fileID { get; set; }
        /// <summary>
        ///  用户编码
        /// </summary>
        //[Required(ErrorMessage = "用户编码必填")]
        public string userID { get; set; }
    }
    /// <summary>
    ///  获取素材商品详情
    /// </summary>
    public class MaterialDetailInput
    {
        /// <summary>
        ///  商品ID
        /// </summary>
        [Required]
        [RegularExpression("^([1-9][0-9]*)$", ErrorMessage = "请传入正确的商品ID")]
        public int fileID { get; set; }
        /// <summary>
        ///  用户编码 【点赞、收藏、购买】
        /// </summary>
        public string userID { get; set; }
    }
}